@import url(../business-card-head/business-card-head);
@import url(../business-card-body/business-card-body);

@gray-border: #e5e5e5;
@space-big: 30rpx;
@space-small: 22rpx;
@red: #e64340;
@width-btn: 168rpx;
@card-body-height: 128rpx;

.com-business-card-partner {
  margin-top: @space-big;
  background: #fff;
  border-top: 1rpx solid @gray-border;
  border-bottom: 1rpx solid @gray-border;
  padding-left: @space-big;
  padding-bottom: @space-small;
  .card-body {
    position: relative;
    height: @card-body-height;
    overflow: hidden;
    margin-top: @space-small;
    .body-wrap {
      box-sizing: border-box;
      width: 100%;
      padding-right: @space-big;
      position: absolute;
      top: 0;
      background: #fff;
      z-index: 2;
      transition: left 0.2s ease-in-out;
    }
    .delete {
      width: @width-btn;
      position: absolute;
      right: 0;
      background: @red;
      color: #fff;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
